package com.burst.reptile.modular.zp.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.burst.reptile.modular.zp.entity.ZpRecAuthor;
import com.burst.reptile.modular.zp.mapper.ZpRecAuthorMapper;
import com.burst.reptile.modular.zp.service.IZpRecAuthorService;

/**
 * <p>
 * 作者推荐 服务实现类
 * </p>
 *
 * @author wujin
 * @since 2020-06-16
 */
@Service
public class ZpRecAuthorServiceImpl extends ServiceImpl<ZpRecAuthorMapper, ZpRecAuthor> implements IZpRecAuthorService {

	@Override
	public List<ZpRecAuthor> listAll() {
		return this.list(new QueryWrapper<ZpRecAuthor>().orderByAsc("rec_sort"));
	}

}
